<!DOCTYPE html>
<html lang="en-US" dir="ltr">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>Form | admin-design-vue | 组件文档</title>
    <meta name="description" content="Form 组件的文档">
    <meta name="generator" content="VitePress v1.6.4">
    <link rel="preload stylesheet" href="/document/assets/style.Ddx2Jgvb.css" as="style">
    <link rel="preload stylesheet" href="/document/vp-icons.css" as="style">
    
    <script type="module" src="/document/assets/app.BeYn-xQn.js"></script>
    <link rel="preload" href="/document/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
    <link rel="modulepreload" href="/document/assets/chunks/theme.0KkP90se.js">
    <link rel="modulepreload" href="/document/assets/chunks/framework.DrK2D9Xh.js">
    <link rel="modulepreload" href="/document/assets/pages_form.md.0Ck23iHg.lean.js">
    <link rel="icon" type="image/svg+xml" href="images/logo.svg">
    <script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
    <script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
  </head>
  <body>
    <div id="app"><div class="Layout" data-v-2cbe977d><!--[--><!--]--><!--[--><span tabindex="-1" data-v-b9fd8f96></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-b9fd8f96>Skip to content</a><!--]--><!----><header class="VPNav" data-v-2cbe977d data-v-568a3999><div class="VPNavBar" data-v-568a3999 data-v-e862726a><div class="wrapper" data-v-e862726a><div class="container" data-v-e862726a><div class="title" data-v-e862726a><div class="VPNavBarTitle has-sidebar" data-v-e862726a data-v-2294ddfc><a class="title" href="/document/" data-v-2294ddfc><!--[--><!--]--><!--[--><img class="VPImage logo" src="images/logo.svg" alt data-v-0c0e3367><!--]--><span data-v-2294ddfc>组件文档</span><!--[--><!--]--></a></div></div><div class="content" data-v-e862726a><div class="content-body" data-v-e862726a><!--[--><!--]--><div class="VPNavBarSearch search" data-v-e862726a><!----></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-e862726a data-v-ef6f4cad><span id="main-nav-aria-label" class="visually-hidden" data-v-ef6f4cad> Main Navigation </span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/document/" tabindex="0" data-v-ef6f4cad data-v-87545ffb><!--[--><span data-v-87545ffb>主页</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/document/pages/install.html" tabindex="0" data-v-ef6f4cad data-v-87545ffb><!--[--><span data-v-87545ffb>指南</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/document/pages/updateLog.html" tabindex="0" data-v-ef6f4cad data-v-87545ffb><!--[--><span data-v-87545ffb>更新日志</span><!--]--></a><!--]--><!--]--></nav><!----><div class="VPNavBarAppearance appearance" data-v-e862726a data-v-43557021><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-43557021 data-v-a51799bc data-v-e4feb773><span class="check" data-v-e4feb773><span class="icon" data-v-e4feb773><!--[--><span class="vpi-sun sun" data-v-a51799bc></span><span class="vpi-moon moon" data-v-a51799bc></span><!--]--></span></span></button></div><!----><div class="VPFlyout VPNavBarExtra extra" data-v-e862726a data-v-0ac1de1f data-v-8823d57b><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-8823d57b><span class="vpi-more-horizontal icon" data-v-8823d57b></span></button><div class="menu" data-v-8823d57b><div class="VPMenu" data-v-8823d57b data-v-45d66e36><!----><!--[--><!--[--><!----><div class="group" data-v-0ac1de1f><div class="item appearance" data-v-0ac1de1f><p class="label" data-v-0ac1de1f>Appearance</p><div class="appearance-action" data-v-0ac1de1f><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-0ac1de1f data-v-a51799bc data-v-e4feb773><span class="check" data-v-e4feb773><span class="icon" data-v-e4feb773><!--[--><span class="vpi-sun sun" data-v-a51799bc></span><span class="vpi-moon moon" data-v-a51799bc></span><!--]--></span></span></button></div></div></div><!----><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-e862726a data-v-5a620755><span class="container" data-v-5a620755><span class="top" data-v-5a620755></span><span class="middle" data-v-5a620755></span><span class="bottom" data-v-5a620755></span></span></button></div></div></div></div><div class="divider" data-v-e862726a><div class="divider-line" data-v-e862726a></div></div></div><!----></header><div class="VPLocalNav has-sidebar empty" data-v-2cbe977d data-v-2eabda0c><div class="container" data-v-2eabda0c><button class="menu" aria-expanded="false" aria-controls="VPSidebarNav" data-v-2eabda0c><span class="vpi-align-left menu-icon" data-v-2eabda0c></span><span class="menu-text" data-v-2eabda0c>Menu</span></button><div class="VPLocalNavOutlineDropdown" style="--vp-vh:0px;" data-v-2eabda0c data-v-d862eea0><button data-v-d862eea0>Return to top</button><!----></div></div></div><aside class="VPSidebar" data-v-2cbe977d data-v-1443e05c><div class="curtain" data-v-1443e05c></div><nav class="nav" id="VPSidebarNav" aria-labelledby="sidebar-aria-label" tabindex="-1" data-v-1443e05c><span class="visually-hidden" id="sidebar-aria-label" data-v-1443e05c> Sidebar Navigation </span><!--[--><!--]--><!--[--><div class="no-transition group" data-v-9ff94639><section class="VPSidebarItem level-0" data-v-9ff94639 data-v-ac3f4866><div class="item" role="button" tabindex="0" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><h2 class="text" data-v-ac3f4866>开发指南</h2><!----></div><div class="items" data-v-ac3f4866><!--[--><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/install.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>安装</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/quickstart.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>快速开始</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="no-transition group" data-v-9ff94639><section class="VPSidebarItem level-0 has-active" data-v-9ff94639 data-v-ac3f4866><div class="item" role="button" tabindex="0" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><h2 class="text" data-v-ac3f4866>业务组件</h2><!----></div><div class="items" data-v-ac3f4866><!--[--><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/form.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>Form 表单</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/dialogForm.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>DialogForm 弹框表单</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/table.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>Table 表格</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/tableForm.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>TableForm 表格表单</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/upload.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>Upload 文件上传</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/permissionDirective.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>permission 权限指令</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><div class="no-transition group" data-v-9ff94639><section class="VPSidebarItem level-0" data-v-9ff94639 data-v-ac3f4866><div class="item" role="button" tabindex="0" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><h2 class="text" data-v-ac3f4866>hooks</h2><!----></div><div class="items" data-v-ac3f4866><!--[--><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/message.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>Message 消息提示</p><!--]--></a><!----></div><!----></div><div class="VPSidebarItem level-1 is-link" data-v-ac3f4866 data-v-ac3f4866><div class="item" data-v-ac3f4866><div class="indicator" data-v-ac3f4866></div><a class="VPLink link link" href="/document/pages/mergeTableRows.html" data-v-ac3f4866><!--[--><p class="text" data-v-ac3f4866>MergeTableRows 表格自动行合并</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><!--]--><!--[--><!--]--></nav></aside><div class="VPContent has-sidebar" id="VPContent" data-v-2cbe977d data-v-03c1fe5f><div class="VPDoc has-sidebar has-aside" data-v-03c1fe5f data-v-099b9a6e><!--[--><!--]--><div class="container" data-v-099b9a6e><div class="aside" data-v-099b9a6e><div class="aside-curtain" data-v-099b9a6e></div><div class="aside-container" data-v-099b9a6e><div class="aside-content" data-v-099b9a6e><div class="VPDocAside" data-v-099b9a6e data-v-e16ec722><!--[--><!--]--><!--[--><!--]--><nav aria-labelledby="doc-outline-aria-label" class="VPDocAsideOutline" data-v-e16ec722 data-v-aba0cb71><div class="content" data-v-aba0cb71><div class="outline-marker" data-v-aba0cb71></div><div aria-level="2" class="outline-title" id="doc-outline-aria-label" role="heading" data-v-aba0cb71>On this page</div><ul class="VPDocOutlineItem root" data-v-aba0cb71 data-v-f79fd0cd><!--[--><!--]--></ul></div></nav><!--[--><!--]--><div class="spacer" data-v-e16ec722></div><!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-099b9a6e><div class="content-container" data-v-099b9a6e><!--[--><!--]--><main class="main" data-v-099b9a6e><div style="position:relative;" class="vp-doc _document_pages_form" data-v-099b9a6e><div><h1 id="form组件" tabindex="-1">Form组件 <a class="header-anchor" href="#form组件" aria-label="Permalink to &quot;Form组件&quot;">​</a></h1><p>通过配置JSON快速构建表单</p><h2 id="快捷搜索配置" tabindex="-1">快捷搜索配置 <a class="header-anchor" href="#快捷搜索配置" aria-label="Permalink to &quot;快捷搜索配置&quot;">​</a></h2><!----><h2 id="select-v2虚拟列表" tabindex="-1">select-v2虚拟列表 <a class="header-anchor" href="#select-v2虚拟列表" aria-label="Permalink to &quot;select-v2虚拟列表&quot;">​</a></h2><ul><li>适用于数据量庞大列表</li></ul><!----><h2 id="select-options静态数据配置" tabindex="-1">select-options静态数据配置 <a class="header-anchor" href="#select-options静态数据配置" aria-label="Permalink to &quot;select-options静态数据配置&quot;">​</a></h2><!----><h2 id="select-options动态数据配置" tabindex="-1">select-options动态数据配置 <a class="header-anchor" href="#select-options动态数据配置" aria-label="Permalink to &quot;select-options动态数据配置&quot;">​</a></h2><!----><h2 id="select-options筛选选项配置" tabindex="-1">select-options筛选选项配置 <a class="header-anchor" href="#select-options筛选选项配置" aria-label="Permalink to &quot;select-options筛选选项配置&quot;">​</a></h2><!----><h2 id="select-options远程搜索配置" tabindex="-1">select-options远程搜索配置 <a class="header-anchor" href="#select-options远程搜索配置" aria-label="Permalink to &quot;select-options远程搜索配置&quot;">​</a></h2><!----><h2 id="select-options联动配置" tabindex="-1">select-options联动配置 <a class="header-anchor" href="#select-options联动配置" aria-label="Permalink to &quot;select-options联动配置&quot;">​</a></h2><!----><h2 id="select-options字段映射配置" tabindex="-1">select-options字段映射配置 <a class="header-anchor" href="#select-options字段映射配置" aria-label="Permalink to &quot;select-options字段映射配置&quot;">​</a></h2><p>options操作的数据是<code>value</code>和<code>label</code>，如果数据返回的不是<code>value</code>和<code>label</code>，可以通过<code>optionsLabelKey</code>、<code>optionsValueKey</code>配置自动转换</p><!----><h2 id="form-表单" tabindex="-1">Form 表单 <a class="header-anchor" href="#form-表单" aria-label="Permalink to &quot;Form 表单&quot;">​</a></h2><p>表单布局采用的是el-col，默认每个表单是宽度是24/6=4(一行可以排列4个表单)，可以手动指定<code>span</code>属性设置，例如<code>span=&quot;12&quot;</code></p><!----><h2 id="form-prop" tabindex="-1">Form Prop <a class="header-anchor" href="#form-prop" aria-label="Permalink to &quot;Form Prop&quot;">​</a></h2><table tabindex="0"><thead><tr><th>属性名</th><th style="text-align:center;">说明</th><th style="text-align:right;">类型</th><th style="text-align:right;">默认值</th><th>属性</th></tr></thead><tbody><tr><td><code>model-value / v-model</code></td><td style="text-align:center;">绑定值</td><td style="text-align:right;"><div class="ad-tooltip" effect="dark" data-v-bb310373><div class="vk-tooltip__trigger" data-v-bb310373><!--[--><div><button ariadisabled="false" type="button" class="el-button is-text is-has-bg" style=""><!--v-if--><span class=""><!--[-->object<!--]--></span></button><button ariadisabled="false" type="button" class="el-button is-plain is-text" style="padding:5px;margin-left:5px;"><!--v-if--><span class=""><!--[--><i class="el-icon" style=""><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"></path></svg><!--]--></i><!--]--></span></button></div><!--]--></div><!----></div></td><td style="text-align:right;">—</td><td>—</td></tr><tr><td><code>models</code></td><td style="text-align:center;">表单数据回显</td><td style="text-align:right;"><div class="ad-tooltip" effect="dark" data-v-bb310373><div class="vk-tooltip__trigger" data-v-bb310373><!--[--><div><button ariadisabled="false" type="button" class="el-button is-text is-has-bg" style=""><!--v-if--><span class=""><!--[-->object<!--]--></span></button><button ariadisabled="false" type="button" class="el-button is-plain is-text" style="padding:5px;margin-left:5px;"><!--v-if--><span class=""><!--[--><i class="el-icon" style=""><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"></path></svg><!--]--></i><!--]--></span></button></div><!--]--></div><!----></div></td><td style="text-align:right;">—</td><td>—</td></tr><tr><td><code>formProps</code></td><td style="text-align:center;">element-plus FormProps</td><td style="text-align:right;"><code>FormProps</code></td><td style="text-align:right;">—</td><td><a href="https://element-plus.org/zh-CN/component/form.html#form-attributes" target="_blank" rel="noreferrer">查看</a></td></tr><tr><td><code>gutter</code></td><td style="text-align:center;">栅格间隔 (同el-row)</td><td style="text-align:right;"><code>number</code></td><td style="text-align:right;">24</td><td>—</td></tr><tr><td><code>span</code></td><td style="text-align:center;">栅格占据的列数 (同el-col)</td><td style="text-align:right;"><code>number</code></td><td style="text-align:right;">6</td><td>—</td></tr><tr><td><code>components</code></td><td style="text-align:center;">组件列表</td><td style="text-align:right;"><div class="ad-tooltip" effect="dark" data-v-bb310373><div class="vk-tooltip__trigger" data-v-bb310373><!--[--><div><button ariadisabled="false" type="button" class="el-button is-text is-has-bg" style=""><!--v-if--><span class=""><!--[-->array<!--]--></span></button><button ariadisabled="false" type="button" class="el-button is-plain is-text" style="padding:5px;margin-left:5px;"><!--v-if--><span class=""><!--[--><i class="el-icon" style=""><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"></path></svg><!--]--></i><!--]--></span></button></div><!--]--></div><!----></div></td><td style="text-align:right;">—</td><td><a href="#componentsprops">查看</a></td></tr><tr><td><code>buttonsPosition</code></td><td style="text-align:center;">操作按钮的位置</td><td style="text-align:right;"><div class="ad-tooltip" effect="dark" data-v-bb310373><div class="vk-tooltip__trigger" data-v-bb310373><!--[--><div><button ariadisabled="false" type="button" class="el-button is-text is-has-bg" style=""><!--v-if--><span class=""><!--[-->enum<!--]--></span></button><button ariadisabled="false" type="button" class="el-button is-plain is-text" style="padding:5px;margin-left:5px;"><!--v-if--><span class=""><!--[--><i class="el-icon" style=""><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"></path></svg><!--]--></i><!--]--></span></button></div><!--]--></div><!----></div></td><td style="text-align:right;">end</td><td>—</td></tr><tr><td><code>buttonsSpan</code></td><td style="text-align:center;">栅格占据的列数 (同el-col)</td><td style="text-align:right;"><code>number</code></td><td style="text-align:right;">默认是<code>span</code>的值</td><td>—</td></tr><tr><td><code>hiddenSubmit</code></td><td style="text-align:center;">是否隐藏查询按钮</td><td style="text-align:right;"><code>boolean</code></td><td style="text-align:right;">false</td><td>—</td></tr><tr><td><code>hiddenResetForm</code></td><td style="text-align:center;">是否重置取消按钮</td><td style="text-align:right;"><code>boolean</code></td><td style="text-align:right;">false</td><td>—</td></tr><tr><td><code>submitText</code></td><td style="text-align:center;">查询按钮文本</td><td style="text-align:right;"><code>string</code></td><td style="text-align:right;">查询</td><td>—</td></tr><tr><td><code>resetFormText</code></td><td style="text-align:center;">重置按钮文本</td><td style="text-align:right;"><code>string</code></td><td style="text-align:right;">重置</td><td>—</td></tr><tr><td><code>isResetFormApi</code></td><td style="text-align:center;">重置按钮是否触发提交</td><td style="text-align:right;"><code>boolean</code></td><td style="text-align:right;">true</td><td>—</td></tr><tr><td><code>submit</code></td><td style="text-align:center;">表单验证成功接口执行成功后触发</td><td style="text-align:right;"><div class="ad-tooltip" effect="dark" data-v-bb310373><div class="vk-tooltip__trigger" data-v-bb310373><!--[--><div><button ariadisabled="false" type="button" class="el-button is-text is-has-bg" style=""><!--v-if--><span class=""><!--[-->func<!--]--></span></button><button ariadisabled="false" type="button" class="el-button is-plain is-text" style="padding:5px;margin-left:5px;"><!--v-if--><span class=""><!--[--><i class="el-icon" style=""><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"></path></svg><!--]--></i><!--]--></span></button></div><!--]--></div><!----></div></td><td style="text-align:right;">—</td><td>—</td></tr><tr><td><code>resetForm</code></td><td style="text-align:center;">重置按钮点击触发</td><td style="text-align:right;"><div class="ad-tooltip" effect="dark" data-v-bb310373><div class="vk-tooltip__trigger" data-v-bb310373><!--[--><div><button ariadisabled="false" type="button" class="el-button is-text is-has-bg" style=""><!--v-if--><span class=""><!--[-->func<!--]--></span></button><button ariadisabled="false" type="button" class="el-button is-plain is-text" style="padding:5px;margin-left:5px;"><!--v-if--><span class=""><!--[--><i class="el-icon" style=""><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"></path></svg><!--]--></i><!--]--></span></button></div><!--]--></div><!----></div></td><td style="text-align:right;">—</td><td>—</td></tr></tbody></table><h2 id="componentsprops" tabindex="-1">ComponentsProps <a class="header-anchor" href="#componentsprops" aria-label="Permalink to &quot;ComponentsProps&quot;">​</a></h2><p>组件列表属性(components)</p><table tabindex="0"><thead><tr><th>属性名</th><th style="text-align:center;">说明</th><th style="text-align:right;">类型</th><th style="text-align:right;">默认值</th><th>属性</th></tr></thead><tbody><tr><td><code>model</code></td><td style="text-align:center;">表单的key</td><td style="text-align:right;"><code>string</code></td><td style="text-align:right;">—</td><td>—</td></tr><tr><td><code>components</code></td><td style="text-align:center;">组件的类型</td><td style="text-align:right;"><div class="ad-tooltip" effect="dark" data-v-bb310373><div class="vk-tooltip__trigger" data-v-bb310373><!--[--><div><button ariadisabled="false" type="button" class="el-button is-text is-has-bg" style=""><!--v-if--><span class=""><!--[-->enum<!--]--></span></button><button ariadisabled="false" type="button" class="el-button is-plain is-text" style="padding:5px;margin-left:5px;"><!--v-if--><span class=""><!--[--><i class="el-icon" style=""><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"></path></svg><!--]--></i><!--]--></span></button></div><!--]--></div><!----></div></td><td style="text-align:right;">—</td><td>—</td></tr><tr><td><code>subComponents</code></td><td style="text-align:center;">组件的类型(select,checkbox,radio需要)</td><td style="text-align:right;"><div class="ad-tooltip" effect="dark" data-v-bb310373><div class="vk-tooltip__trigger" data-v-bb310373><!--[--><div><button ariadisabled="false" type="button" class="el-button is-text is-has-bg" style=""><!--v-if--><span class=""><!--[-->enum<!--]--></span></button><button ariadisabled="false" type="button" class="el-button is-plain is-text" style="padding:5px;margin-left:5px;"><!--v-if--><span class=""><!--[--><i class="el-icon" style=""><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"></path></svg><!--]--></i><!--]--></span></button></div><!--]--></div><!----></div></td><td style="text-align:right;">—</td><td>—</td></tr><tr><td><code>props</code></td><td style="text-align:center;">组件的属性(同组件的属性)</td><td style="text-align:right;"><div class="ad-tooltip" effect="dark" data-v-bb310373><div class="vk-tooltip__trigger" data-v-bb310373><!--[--><div><button ariadisabled="false" type="button" class="el-button is-text is-has-bg" style=""><!--v-if--><span class=""><!--[-->object<!--]--></span></button><button ariadisabled="false" type="button" class="el-button is-plain is-text" style="padding:5px;margin-left:5px;"><!--v-if--><span class=""><!--[--><i class="el-icon" style=""><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"></path></svg><!--]--></i><!--]--></span></button></div><!--]--></div><!----></div></td><td style="text-align:right;">—</td><td><a href="#typeComponentsProps">查看</a></td></tr><tr><td><code>events</code></td><td style="text-align:center;">组件事件(同组件的事件)</td><td style="text-align:right;"><div class="ad-tooltip" effect="dark" data-v-bb310373><div class="vk-tooltip__trigger" data-v-bb310373><!--[--><div><button ariadisabled="false" type="button" class="el-button is-text is-has-bg" style=""><!--v-if--><span class=""><!--[-->enum<!--]--></span></button><button ariadisabled="false" type="button" class="el-button is-plain is-text" style="padding:5px;margin-left:5px;"><!--v-if--><span class=""><!--[--><i class="el-icon" style=""><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"></path></svg><!--]--></i><!--]--></span></button></div><!--]--></div><!----></div></td><td style="text-align:right;">—</td><td>—</td></tr><tr><td><code>options</code></td><td style="text-align:center;">select,checkbox,radio</td><td style="text-align:right;"><div class="ad-tooltip" effect="dark" data-v-bb310373><div class="vk-tooltip__trigger" data-v-bb310373><!--[--><div><button ariadisabled="false" type="button" class="el-button is-text is-has-bg" style=""><!--v-if--><span class=""><!--[-->array<!--]--></span></button><button ariadisabled="false" type="button" class="el-button is-plain is-text" style="padding:5px;margin-left:5px;"><!--v-if--><span class=""><!--[--><i class="el-icon" style=""><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"></path></svg><!--]--></i><!--]--></span></button></div><!--]--></div><!----></div></td><td style="text-align:right;">—</td><td><a href="#selectoptions">查看</a></td></tr><tr><td><code>optionsLabelKey</code></td><td style="text-align:center;">映射options label</td><td style="text-align:right;"><code>string</code></td><td style="text-align:right;">label</td><td>—</td></tr><tr><td><code>optionsValueKey</code></td><td style="text-align:center;">映射options value</td><td style="text-align:right;"><code>string</code></td><td style="text-align:right;">value</td><td>—</td></tr><tr><td><code>stypeProps</code></td><td style="text-align:center;">自定义样式</td><td style="text-align:right;"><div class="ad-tooltip" effect="dark" data-v-bb310373><div class="vk-tooltip__trigger" data-v-bb310373><!--[--><div><button ariadisabled="false" type="button" class="el-button is-text is-has-bg" style=""><!--v-if--><span class=""><!--[-->object<!--]--></span></button><button ariadisabled="false" type="button" class="el-button is-plain is-text" style="padding:5px;margin-left:5px;"><!--v-if--><span class=""><!--[--><i class="el-icon" style=""><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"></path></svg><!--]--></i><!--]--></span></button></div><!--]--></div><!----></div></td><td style="text-align:right;">—</td><td>—</td></tr></tbody></table><h2 id="typecomponentsprops" tabindex="-1">TypeComponentsProps <a class="header-anchor" href="#typecomponentsprops" aria-label="Permalink to &quot;TypeComponentsProps&quot;">​</a></h2><p>每个组件(props)</p><table tabindex="0"><thead><tr><th>属性名</th><th style="text-align:center;">说明</th><th style="text-align:right;">类型</th><th style="text-align:right;">默认值</th><th>属性</th></tr></thead><tbody><tr><td><code>label</code></td><td style="text-align:center;">表单项的名称</td><td style="text-align:right;"><code>string</code></td><td style="text-align:right;">—</td><td>—</td></tr><tr><td><code>rules</code></td><td style="text-align:center;">表单项验证(同element-plus)</td><td style="text-align:right;"><code>Array&lt;any&gt;</code></td><td style="text-align:right;">—</td><td>—</td></tr><tr><td><code>span</code></td><td style="text-align:center;">表单项栅格占据的列数</td><td style="text-align:right;"><code>number</code></td><td style="text-align:right;">—</td><td>—</td></tr><tr><td><code>hidden</code></td><td style="text-align:center;">是否隐藏表单项</td><td style="text-align:right;"><code>boolean</code></td><td style="text-align:right;">—</td><td>false</td></tr><tr><td><code>defaultValue</code></td><td style="text-align:center;">表单项默认值</td><td style="text-align:right;"><code>number</code></td><td style="text-align:right;">—</td><td>—</td></tr><tr><td><code>labelWidth</code></td><td style="text-align:center;">表单项名字长度</td><td style="text-align:right;"><code>string</code></td><td style="text-align:right;">—</td><td>—</td></tr><tr><td><code>*</code></td><td style="text-align:center;">同element-plus表单项</td><td style="text-align:right;"><div class="ad-tooltip" effect="dark" data-v-bb310373><div class="vk-tooltip__trigger" data-v-bb310373><!--[--><div><button ariadisabled="false" type="button" class="el-button is-text is-has-bg" style=""><!--v-if--><span class=""><!--[-->enum<!--]--></span></button><button ariadisabled="false" type="button" class="el-button is-plain is-text" style="padding:5px;margin-left:5px;"><!--v-if--><span class=""><!--[--><i class="el-icon" style=""><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"></path></svg><!--]--></i><!--]--></span></button></div><!--]--></div><!----></div></td><td style="text-align:right;">—</td><td>—</td></tr></tbody></table><h2 id="selectoptions" tabindex="-1">SelectOptions <a class="header-anchor" href="#selectoptions" aria-label="Permalink to &quot;SelectOptions&quot;">​</a></h2><p>el-select、el-checkbox、el-radio(options)</p><table tabindex="0"><thead><tr><th>属性名</th><th style="text-align:center;">说明</th><th style="text-align:right;">类型</th><th style="text-align:right;">默认值</th><th>属性</th></tr></thead><tbody><tr><td><code>label</code></td><td style="text-align:center;">label</td><td style="text-align:right;"><div class="ad-tooltip" effect="dark" data-v-bb310373><div class="vk-tooltip__trigger" data-v-bb310373><!--[--><div><button ariadisabled="false" type="button" class="el-button is-text is-has-bg" style=""><!--v-if--><span class=""><!--[-->enum<!--]--></span></button><button ariadisabled="false" type="button" class="el-button is-plain is-text" style="padding:5px;margin-left:5px;"><!--v-if--><span class=""><!--[--><i class="el-icon" style=""><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"></path></svg><!--]--></i><!--]--></span></button></div><!--]--></div><!----></div></td><td style="text-align:right;">—</td><td>—</td></tr><tr><td><code>value</code></td><td style="text-align:center;">value</td><td style="text-align:right;"><div class="ad-tooltip" effect="dark" data-v-bb310373><div class="vk-tooltip__trigger" data-v-bb310373><!--[--><div><button ariadisabled="false" type="button" class="el-button is-text is-has-bg" style=""><!--v-if--><span class=""><!--[-->enum<!--]--></span></button><button ariadisabled="false" type="button" class="el-button is-plain is-text" style="padding:5px;margin-left:5px;"><!--v-if--><span class=""><!--[--><i class="el-icon" style=""><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"></path></svg><!--]--></i><!--]--></span></button></div><!--]--></div><!----></div></td><td style="text-align:right;">—</td><td>—</td></tr><tr><td><code>disabled</code></td><td style="text-align:center;">是否禁用</td><td style="text-align:right;"><code>boolean</code></td><td style="text-align:right;">false</td><td>—</td></tr><tr><td><code>*</code></td><td style="text-align:center;">任意key值</td><td style="text-align:right;"><code>[key: string]: any</code></td><td style="text-align:right;">—</td><td>—</td></tr></tbody></table><h2 id="form-emits" tabindex="-1">Form Emits <a class="header-anchor" href="#form-emits" aria-label="Permalink to &quot;Form Emits&quot;">​</a></h2><table tabindex="0"><thead><tr><th>名称</th><th style="text-align:center;">描述</th><th style="text-align:right;">类型</th></tr></thead><tbody><tr><td><code>submitSucceed</code></td><td style="text-align:center;">表单提交重置后触发</td><td style="text-align:right;"><div class="ad-tooltip" effect="dark" data-v-bb310373><div class="vk-tooltip__trigger" data-v-bb310373><!--[--><div><button ariadisabled="false" type="button" class="el-button is-text is-has-bg" style=""><!--v-if--><span class=""><!--[-->func<!--]--></span></button><button ariadisabled="false" type="button" class="el-button is-plain is-text" style="padding:5px;margin-left:5px;"><!--v-if--><span class=""><!--[--><i class="el-icon" style=""><!--[--><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 1024"><path fill="currentColor" d="M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"></path></svg><!--]--></i><!--]--></span></button></div><!--]--></div><!----></div></td></tr></tbody></table><h2 id="form-exposes" tabindex="-1">Form Exposes <a class="header-anchor" href="#form-exposes" aria-label="Permalink to &quot;Form Exposes&quot;">​</a></h2><table tabindex="0"><thead><tr><th>名称</th><th style="text-align:center;">描述</th><th style="text-align:right;">类型</th></tr></thead><tbody><tr><td><code>ref</code></td><td style="text-align:center;">表单实例</td><td style="text-align:right;"><code>FormInstance</code></td></tr><tr><td><code>loading</code></td><td style="text-align:center;">是否加载中</td><td style="text-align:right;"><code>boolean</code></td></tr></tbody></table><h2 id="form-slot" tabindex="-1">Form Slot <a class="header-anchor" href="#form-slot" aria-label="Permalink to &quot;Form Slot&quot;">​</a></h2><table tabindex="0"><thead><tr><th>名称</th><th style="text-align:center;">描述</th><th style="text-align:right;">类型</th></tr></thead><tbody><tr><td><code>model</code></td><td style="text-align:center;">model就是Slot名称</td><td style="text-align:right;"><code>{scope:ComponentsProps}</code></td></tr></tbody></table><h2 id="类型声明" tabindex="-1">类型声明 <a class="header-anchor" href="#类型声明" aria-label="Permalink to &quot;类型声明&quot;">​</a></h2><details class="details custom-block"><summary>显示类型声明</summary><div class="language-ts vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">ts</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> type</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  CheckboxGroupEmits,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  CheckboxGroupProps,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  DatePickerProps,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  FormInstance,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  FormProps,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  InputEmits,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  InputNumberEmits,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  InputNumberProps,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  InputProps,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  RadioGroupEmits,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  RadioGroupProps,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  RateEmits,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  RateProps,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  SliderEmits,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  SliderProps,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  SwitchEmits,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  SwitchProps,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">	SelectContext,</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">	SelectV2Context</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">} </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;element-plus&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">interface</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ExtendProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  label</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  rules</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Array</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">any</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  span</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> number</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  hidden</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> boolean</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  defaultValue</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> any</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  labelWidth</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">type</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> SelectProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> SelectContext</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">[</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;props&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">];</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">type</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> SelectV2Props</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> SelectV2Context</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">[</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;props&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">];</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">type</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> TreeSelectProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Record</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">any</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">type</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> TypeComponentsProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">InputProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> &amp;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ExtendProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">SelectProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> &amp;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ExtendProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">	|</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">SelectV2Props</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> &amp;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ExtendProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">DatePickerProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> &amp;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ExtendProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">CheckboxGroupProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> &amp;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ExtendProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">RadioGroupProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> &amp;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ExtendProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">SwitchProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> &amp;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ExtendProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">InputNumberProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> &amp;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ExtendProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">RateProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> &amp;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ExtendProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">SliderProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> &amp;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ExtendProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">TreeSelectProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> &amp;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ExtendProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">);</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">type</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> SelectEmits</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Record</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">any</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">type</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> SelectV2Emits</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Record</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">any</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">type</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> TreeSelecttEmits</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Record</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">any</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">type</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> DatePickerEmits</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Record</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">any</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">type</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ComponentsEvents</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> InputEmits</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> SelectEmits</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">	|</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> SelectV2Emits</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> DatePickerEmits</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> CheckboxGroupEmits</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> RadioGroupEmits</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> SwitchEmits</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> InputNumberEmits</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> RateEmits</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> SliderEmits</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">  |</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> TreeSelecttEmits</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> interface</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> OptionsGroups</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  [</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">key</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">]</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">    loading</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> boolean</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">    list</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Array</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">SelectOptions</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  };</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> interface</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> SelectOptions</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  label</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> string</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> |</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> number</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  value</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> string</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> |</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> number</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> |</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> boolean</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> |</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> object</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  disabled</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> boolean</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  [</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">key</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">]</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> any</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> interface</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> ComponentsProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  model</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  components</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">    |</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;el-input&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">    |</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;el-select&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">    |</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;el-select-v2&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">    |</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;el-date-picker&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">    |</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;el-checkbox-group&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">    |</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;el-radio-group&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">    |</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;el-switch&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">    |</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;el-input-number&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">    |</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;el-rate&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">    |</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;el-slider&#39;</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">    |</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;el-tree-select&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  subComponents</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;el-option&#39;</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> |</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;el-checkbox&#39;</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> |</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;el-radio&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  props</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Partial</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">TypeComponentsProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  events</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Partial</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">ComponentsEvents</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  dictKey</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  options</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Array</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">SelectOptions</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt; </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">|</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> ((</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">keyword</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Promise</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">Array</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">SelectOptions</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;&gt;);</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  optionsLabelKey</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  optionsValueKey</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  stypeProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Record</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">any</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> interface</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> AdFormPorps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> any</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt; {</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  modelValue</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  models</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  formProps</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Partial</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">FormProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  gutter</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> number</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  span</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> number</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  components</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Array</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">ComponentsProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  buttonsPosition</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;start&#39;</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> |</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;center&#39;</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> |</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;end&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  buttonsSpan</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> number</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  hiddenSubmit</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> boolean</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  hiddenResetForm</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> boolean</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  submitText</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  resetFormText</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  isResetFormApi</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> boolean</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">  submit</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">models</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Promise</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">void</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt; </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">|</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> void</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">  resetForm</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> () </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=&gt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> void</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> interface</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> AdFormEmits</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">T</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> Record</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">string</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">any</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;&gt; {</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  (</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">event</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;update:modelValue&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">models</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> T</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> void</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">  (</span><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">event</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &#39;submitSucceed&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">)</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> void</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span>
<span class="line"></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">export</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> interface</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> AdFormInstance</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  ref</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> FormInstance</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#E36209;--shiki-dark:#FFAB70;">  loading</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">:</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> boolean</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span></code></pre></div></details></div></div></main><footer class="VPDocFooter" data-v-099b9a6e data-v-f6ca0369><!--[--><!--]--><div class="edit-info" data-v-f6ca0369><div class="edit-link" data-v-f6ca0369><a class="VPLink link vp-external-link-icon no-icon edit-link-button" href="https://gitee.com/fe-hl/admin-design-vue" target="_blank" rel="noreferrer" data-v-f6ca0369><!--[--><span class="vpi-square-pen edit-link-icon" data-v-f6ca0369></span> 在GitHub上编辑此页<!--]--></a></div><div class="last-updated" data-v-f6ca0369><p class="VPLastUpdated" data-v-f6ca0369 data-v-ae5a8333>上次更新: <time datetime="2024-08-29T07:47:24.000Z" data-v-ae5a8333></time></p></div></div><nav class="prev-next" aria-labelledby="doc-footer-aria-label" data-v-f6ca0369><span class="visually-hidden" id="doc-footer-aria-label" data-v-f6ca0369>Pager</span><div class="pager" data-v-f6ca0369><a class="VPLink link pager-link prev" href="/document/pages/quickstart.html" data-v-f6ca0369><!--[--><span class="desc" data-v-f6ca0369>Previous page</span><span class="title" data-v-f6ca0369>快速开始</span><!--]--></a></div><div class="pager" data-v-f6ca0369><a class="VPLink link pager-link next" href="/document/pages/dialogForm.html" data-v-f6ca0369><!--[--><span class="desc" data-v-f6ca0369>Next page</span><span class="title" data-v-f6ca0369>DialogForm 弹框表单</span><!--]--></a></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
    <script>window.__VP_HASH_MAP__=JSON.parse("{\"index.md\":\"CY4oVtBy\",\"pages_dialogform.md\":\"w4f4tNlA\",\"pages_form.md\":\"0Ck23iHg\",\"pages_install.md\":\"BhuB9zml\",\"pages_mergetablerows.md\":\"CwQlJpzI\",\"pages_message.md\":\"DiSZUsXQ\",\"pages_permissiondirective.md\":\"DiYxkUyX\",\"pages_quickstart.md\":\"Bo7916BE\",\"pages_table.md\":\"BZm5nQH0\",\"pages_tableform.md\":\"tVspQFcP\",\"pages_updatelog.md\":\"Ct6g9Ki9\",\"pages_upload.md\":\"I5kBJXEF\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"组件文档\",\"description\":\"组件文档\",\"base\":\"/document/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"lastUpdatedText\":\"上次更新\",\"editLink\":{\"pattern\":\"https://gitee.com/fe-hl/admin-design-vue\",\"text\":\"在GitHub上编辑此页\"},\"logo\":\"images/logo.svg\",\"nav\":[{\"text\":\"主页\",\"link\":\"/\"},{\"text\":\"指南\",\"link\":\"/pages/install\"},{\"text\":\"更新日志\",\"link\":\"/pages/updateLog\"}],\"sidebar\":[{\"text\":\"开发指南\",\"collapsible\":true,\"items\":[{\"text\":\"安装\",\"link\":\"/pages/install\"},{\"text\":\"快速开始\",\"link\":\"/pages/quickstart\"}]},{\"text\":\"业务组件\",\"collapsible\":true,\"items\":[{\"text\":\"Form 表单\",\"link\":\"/pages/form\"},{\"text\":\"DialogForm 弹框表单\",\"link\":\"/pages/dialogForm\"},{\"text\":\"Table 表格\",\"link\":\"/pages/table\"},{\"text\":\"TableForm 表格表单\",\"link\":\"/pages/tableForm\"},{\"text\":\"Upload 文件上传\",\"link\":\"/pages/upload\"},{\"text\":\"permission 权限指令\",\"link\":\"/pages/permissionDirective\"}]},{\"text\":\"hooks\",\"collapsible\":true,\"items\":[{\"text\":\"Message 消息提示\",\"link\":\"/pages/message\"},{\"text\":\"MergeTableRows 表格自动行合并\",\"link\":\"/pages/mergeTableRows\"}]}]},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
    
  </body>
</html>